Add some more extern functions to CodeGen_C.

At some stage I'll have to bite the bullet and add all of them.
Fixed missing check for null divisor in bounds of division.
Makefile fix for linux.