PvAPI support on Windows with MinGW

New submit of the pull request #1076 to '2.4' branch (not to 'master) as asked by Andrey.

I am still new on github... sorry...