MSVC: Fix cmath warnings