Fixed MSC_VER guard for NAN/INFINITY for newer VS