track mojolicious api changes and improve build system a bit