Fix compilation error for sources using hostif driver library

Fixes for compilation errors in hostinterface library