Fixed build script