Updating main.cc

Now also compiles on windows target.
Don't forget to enable C++11 support.