fix build in travis-ci