fix travis-ci; fix build error