Open the source file in universal newline mode.
diff --git a/Mac/Lib/buildtools.py b/Mac/Lib/buildtools.py
index d831610..efc5c47 100644
--- a/Mac/Lib/buildtools.py
+++ b/Mac/Lib/buildtools.py
@@ -78,7 +78,7 @@
 	# Read the source and compile it
 	# (there's no point overwriting the destination if it has a syntax error)
 	
-	fp = open(filename)
+	fp = open(filename, 'rU')
 	text = fp.read()
 	fp.close()
 	try: