This makes the udev directory overridable on the command line.
If none is given, it defaults to getting the directory from pkg-config,
if you have the udev development package installed, and failing that,
hard-codes /lib/udev as before.
All of this is based on research and suggestions from speps.