Add `extern "C"` to enable use with C++
Merge pull request #10 from mmalecki/cplusplus

Add `extern "C"` to enable use with C++