issue #2242:use -std=gnu++0x for linux and native client project