Added c++ support for cygwin.