cygwin fixes, cmake modified to build out of source
assem: build cleanups
assem build: O2, cmake ver. bump
em400: better underflow check
em400: isprint wants non-char subscript
em400: cmake>=2.8.4 doesn't set WIN32
em400 build: check for ncurses, req cmake 2.8.4, cleanups
Merge branch 'win'
em400: cygwin doesn't have pthread_mutex_timedlock, but sem_timedwait is there
em400: semaphore instead of spinlock for int_ready