Fix for Xcode on Mac.