Fix OSX library.