more fixes in libm =)