Fix for CTF flags being drawn in STF
Fix for g++