Rebuild OS X libraries