Fix compilation if Xenomai or RTNET not installed