[libc] Generate math.h instead of the static file it is currently.