Fix MSVC++ compile error caused by missing round() in math.h