Changed the #ifdef to #if to correctly output debug info