mesa: link againest libudev for linux, fix #2731

@vcunat, I tested it with openra (intel card).
@iElectric, this should work for all packages using OpenGL.