Added support for Mac OS X headers and libraries