Simple example of how to compile and add an unmanaged C library as a reference in a .Net project