make Qt4 build optional