Added `extern "C"` in header file.