fix MacOS/iOS openjdk-src build regression (part 2)