add support for building R14 on Mountain Lion and newer
Merge pull request #4 from dcgibbons/osx_r14_build_fixes

add support for building R14 on Mountain Lion and newer