Fixed the issue about not being able to build OpenCOR using Xcode on OS X (closes #373).