Adding OSX support, along with instructions on how to build the required shared library