Ensure that the build directory exists