fix MacOS/iOS openjdk-src build regression