fixes for kernel 3.8 and newer udev

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>