make sure the build dir exists