Fix DllNotFoundException when running on Mac.