try to fix compile for travis-ci