makefile.mingw: fix windows build

CFLAGS --> CXXFLAGS
Merge pull request #2 from phelixbtc/patch-1

makefile.mingw: fix windows build