[Pope/text] Fix the build system.