Use sudo in the Travis build where needed