add support for C++ version of wordmaker