Adaptation for Linux.