Making compile in g++ 4.4.5