fix for issue #374: autotest output on windows