Mac OS: Make icns generation work when building with Qt 5
Fix Qt5 jenkins build failure