Compilation fixes

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>