Fix compiling on Travis