Add libraryFilenameExtension for OSX