Fix to compile in TravisCI