Fix ant test failure on Unix