Fix for building on windows with mingw.

Signed-off-by: Peter Atashian <retep998@gmail.com>