McLeod, Alexander, 1796-1871