Fix lib install name and version numbers on OS X