Add support for building on Windows (Cygwin).