When compiling with the flag no_console, it complains about no defaultPrinter.
Merge pull request #11 from massiveinteractive/fix/undefined-defaultPrint-when-no-console

Undefined defaultPrinter when no_console flag is set