build script creates build dir if it doesn't exist