Fixes the build script