Fixes for Qt5 based SailfishOS SDK