call _finite in case of MSVC (fix #29)