Fixes compilation on Mac OS X with Xcode project

Fixes a compilation issue I had on 10.9 and adds a Xcode project file.

Patch at: src/libxml/xpath.cxx
Xcode project at: platform/OSX

Assumes boost is installed at /usr/local