compiled on osx, removed find_package in cmake