change TomahawkUtils::removeDirectory to use the new Qt5 functionality when building with Qt5