make example compile in eclipse