don't give up the build directory search too early