Wrap linux only debug code with ifdef