modified third-party library targets to build under OS X