MSVC fixes

fix undefined reference of ldexpl/frexpl and the cbrt fallback raising an invalid flag on nan input.