cqlsh: fix crashing on Windows due to libedit detection

patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5812
cqlsh: correct the rest of libedit detection on windows
Merge branch 'cassandra-1.2' into trunk

Conflicts:
	bin/cqlsh