Fixed issue with build script