fix mvn test fail on Mac OS X