fixes to Linux dev_t macros