[package] fix compilation of digitemp w/ and w/o usb, cleanup Makefile (#6170)