Fix for line end issue on windows