use gnu++0x instead of gnu++11

This is to allow compilation on older GCCs.