Suggestions are this will fix the finite issue with mingw

Authored by leinir on Feb 11 2017, 11:16 AM.