Implemented support for extern-ing C functions
Simplified examples Makefile