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