qt4: do not build windows registry code when not compiling for windows