some adaption to travis build