Fix continous integration on Travis

Related to #274.