Fix creation of the plugin directory on Qt5