Fix building tests/parsetext.cpp