Two mingw fixes

I don't know what to write here.
vlc-qt was built successfully using mingw 4.8 with Qt 5.3.0 (from git) and VLC 2.2.0 (from git), QML and OpenGL ES 2 enabled. QML player works. I'll test it deeper later.