router_route_intern: squash GCC warning on Solaris 10

router.c:1084:6: warning: this decimal constant is unsigned only in ISO
C90 [enabled by default]
build-sys: add appropriate socket libs on Solaris