Fix udev errors with old release

This allows to compile the udev part under RHEL 6 / Centos 6
Allow compilation on old kernels

RHEL/CentOS 6 can now compile mtdiag-qt