Changed mingw32-g++ to g++ on windows and removed -g flag.