fix loads of missing const in new libm, and some global vars (?!) in powl