Added if statement for Linux.