Mackenzie, William, 1791-1868