Add more allowed ldlibs for darwin and windows

Change-Id: If6217de9e369e29a2e716c5cbad4444e7312f197
diff --git a/cc/x86_darwin_host.go b/cc/x86_darwin_host.go
index 2894f7e..d514c14 100644
--- a/cc/x86_darwin_host.go
+++ b/cc/x86_darwin_host.go
@@ -81,6 +81,7 @@
 		"c",
 		"dl",
 		"m",
+		"ncurses",
 		"pthread",
 		"z",
 	}, "-l")