Update RouteCompiler.php

Fixes INF problem on solaris.