revert part of 9eda1620b

This probably would've broken native OSX builds