Add workaround to GCC 4.6 failure on initializer lists.

https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/1352356
Add detection of GCC version on old CMake by Johannes.