Plugin directory fix for Qt5 Mac OS platforms.