Don't disable sync_with_stdio, because it might be this that prevents messages going to console in Windows