vrouter: Fixing problem with no longer building vrouter

Enabling warning as errors have triggered some more errors that
have been missed during last fix. This fix has been provided to
repair what have been broken.