Fix generate command and update Mojolicious minimal version