Add more math functions for Windows.

The set of required functions is now complete. Most functions are
also implemented and work for Win32 and Win64.