Fixed a travis compile error