Make jlog.h usable from C++

Here's a simple fix to enable simple usage of jlog in C++