fix build script using