Fix compilation errors.

Signed-off-by: Rob Caelers <robc@krandor.org>