Fixed bug caused by removal of __CONSOLE_DEBUG preprocessor flag.