fix #3932 (std::strtof is in C99 which M$ doesn't bother to support)