Updatated CMAKELISTS to use find_library to link with needed on OS X
libraries.