wimlib.h: C++ compatibility