travis build stability fixes