The if(Linux) was intentional here, otherwise windows configures the file with different line endings.

Is there a reason to remove it?