Changes for compiling on Qt Creator / Mingw32 / Qt 5.2.1 on windows, WIP