Require undo-tree before setting it globally

I wast getting an error when starting Emacs:

> Symbol's function definition is void: global-undo-tree-mode

Adding the require before setting this mode makes it start cleanly.