fix for windows compilation of Qt gui's