Build the CDS library separately and fix build options for cygwin port
dont redraw screen in handler for aardvark mode