Implemented get_route_for() on POSIX systems