fixes for Win32 and QtCreator 3.1