Using C++ with -std=c++0x (for compatibility with older gcc versions)