Fix UriRewriteFilter when building with artisan.