fix compile errors

Signed-off-by: Werner Macho <werner.macho@gmail.com>