Use libdevq where libudev is required on Linux