c: Add extern "C" markup to all files to force proper symbol names in C++
c: Explicitly use ANSI version of GetModuleHandle

This avoids a compiler error if UNICODE is enabled and GetModuleHandle
is replaced by GetModuleHandleW that expected a wchar_t string instead
of a char string.
c: Add simple Makefile for Linux