allow mesalib to support dri2 without libudev