Make math_funcs.h use lrint on msvc 2013