fix MacOS/iOS openjdk-src build regression
Merge pull request #303 from dicej/darwin-openjdk-src

fix MacOS/iOS openjdk-src build regression