Text plugin: include fix for macos