Fix compilation errors

Signed-off-by: Steven Downer <grinch@outlook.com>