Fixed the build script