core.math: proper support for MSVCRT 2013+