small fixes to make roblog compile without tosa support