Got things compiling in gnu++0x mode in g++-4.4.3.