Solve compiler error on Travis