Make jlog.h usable from C++
Merge pull request #4 from noj/c++-fix

Make jlog.h usable from C++