configure: simplify directory creation for out of tree builds