Don't write to stdout from library mode