Add a workaround for compiling modules with Windows line endings.