Changed ^M to \r since gcc for IA-64 didn't like it.