Adds conditional include of io.h when compiling with MinGW
Merge pull request #90 from martinsh-shaiters/mingw

Adds conditional include of io.h when compiling with MinGW