small libc hacks