Allow dylib for Mac.