Adjusted for Linux.