Quick fix for the Mac build.
TODO: Make this version dependant so it works with newer Xcode too