some more libc hacks