Added 'extern "C" { ... }' to the header files to force C linkage.
Merge pull request #9 from Yawning/cpp_header_compat

Added 'extern "C" { ... }' to the header files to force C linkage.