fixed compile errors

Signed-off-by: Troy Koivisto <tkoivi+git@gmail.com>