[qt5] Make buteo-mtp compile with both qt5 and qt4; move to statefs