Only use -std=gnu++0x for Cygwin, -std=c++0x otherwise; removed
hardcoded debug and low optimization flags