native: reenable compilation on osx
Merge pull request #1496 from LudwigOrtmann/osx-fixup

native: reenable compilation on osx