Add a small build system.

This will easily compile the C code.