lwindex: Fix a C++ compilation.