Support of Cygwin and static link