QT5 compat / build system cleanup