Add workaround for travis re maven

See travis-ci/travis-ci#1689.