Unbreak the darwin build.
Patch by Ismail Pazarbasi!