Have WITH_CTF imply DEBUG_FLAGS=-g.