newlib seems to be working better under qemu