ENH: No fmax with Windows SDK so define inline.

This should fix the windows binaries issue.