fixes to get building on osx 10.9 including macports includes and libraries