Use -std=gnu++0x only on Cygwin; removed hardcoded debug and
optimization flags