variables called 'stdout' cause bad karma on netbsd.

based on a patch by Thomas Klausner.