Fix to work with yesod-platform-1.2.2