Change variable to #ifdef