Add support for Apple OS X (XCode/GCC).