Workaround for mingw headers not providing std::round.