Adds support for using the c++0x flag on g++-4.6