Some fixes to the C library, so that it actually gets C.