and more fixes in libm =)