sqrt with an integer ambiguous on MSVC