Finish up migration to libudev.

Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com>