Fix: Build errors in various places

Signed-off-by: Chintan Shah <cgintan1998@gmail.com>