Fix test failure under windows.

Signed-off-by: Andreas Kuhtz <andreas.kuhtz@gmail.com>