Fixed for mesa-dri changes