Anti-cheat features should be enablable/disablable without needing to resort to removing source code or altering flags. One possible solution is to have an anti-cheat builder, where features can be selected and the builder will build a copy of the anti-cheat with only those features integrated into it.