support dylib versioning for OSX