   Files flex.cpp and rays.h need some minor edits so they can be used
   for both GCC and MSVC; the problem is some logical conditions were
   accidentally negated in GCC version. TODO: Resolve these, so we can
   go back to using the same files for both.

