fix preprocesser "defined" corner cases