Add support of building snappy.c with mingw-w64