Fixed GCC 4.6 compat (requires manual -std=c++0x)