cmake trick was counting gcc 4.6.1 as 4.7 and thus using the wrong c++11 standard