Fixed OSX libs and example