MSVC fixes

fix undefined reference of ldexpl/frexpl and the cbrt fallback raising an invalid flag on nan input.
Not sure about this one, the same code is in v1.8.2. What is the motivation? I'm sure there is a reason...