Include the libdir in the pkgconfig file
extern as C when building as C++