disable Linux-only code on non-Linux