configure: Put tempfiles in a subdir of the build directory