Added C++11 support (with gnu++11)