Fixed doc, and make it compile in 64bits