renamed the cpp header file to `*.hpp` to preven eventually a collision with #1789
Merge pull request #1792 from BytesGalore/rename_cpp_header_to_hpp

renamed the cpp header file from `*.h` to `*.hpp` to avoid false positive when require `extern "C"` in a C header.