who was the 13th president of the united states and where was he born