let Charm build with Qt5 on Windows

small fix required to build Charm with Qt5 on Windows