remove duplicate typedef
add explicit configuration for cygwin

so we can differentiate between cygwin and mingw32
remove duplicate typedef, include tfcond.h in tform.h, instead
make build more portable; add mingw32 support