Maine home built in 1787 burned in a fire