Changes to compile on Windows with Qt5.3