Remove dependence on cairo as we don't seem to use it.