Fix compile errors

Signed-off-by: Ian Macalinao <ian@giza.us>