Move finite check outside of if (NOT WIN32) block

Prevents redefinition of finite in src/OSD/OSD.cxx for MinGW