fix MacOS load plugin path