Try to fix JUnit test on MacOSX.