fix for systems that can't convert mqd_t to FD