Make the README example work out of the box

It doesn't compile in it's current state, the two edits I've made fix that.