improve build script
daemon: improve udev handling