use -std=gnu++0x for older gcc (FreeBSD build fix)