Widened scope of #ifdef to include all Linux specific code.