Tweaks to get qt5 platform plugins packagable.