fixed compile in linux