a little change to make SMO work compiled in cygwin g++