Support ON/OFF for cmake flags