Refs #281. Detect __CYGWIN__ macro for Cygwin x86_64.

Signed-off-by: Zhang Xianyi <traits.zhang@gmail.com>