fix the build issue of travis