#854 Build with CMake and MinGW on Windows

Not it is not possible to build libmediainfo on Windows with MinGW so I did some cmake fixes for this. You can look at my repo https://github.com/drizt/libmediainfo-all-inclusive with these fixes. For building I used Windows 7 x64, Command Line, MinGW from Qt-5.2.1 and sure CMake.