Fix missing header for MinGW

Came accross a small issue while writing the build documentation!
Looks like a MinGW bug to me, but the fix was easy enough!

Let's see what travis and appveyor have to say :)