Fixed Travis build in the absense of Thrift