Conformed syntax to compile in g++