Backwards compatible on Windows with Qt4.8