Cherry-pick upstream fix to use correct versions for the new symbols that were introduced in libudev.