fixing broken build script