This makes it more straightforward to build a cross-compiler toolchain. Also move math stuff from LibC to LibM.