autovala: make autovala buildable

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>