sscanf instead of std::stof for MinGW