fixed issue with build script