Update osx library to fix errors