Fix compile error in Travis.