Fix incorrect variable name for turning off building tests