Fix compilation errors happening in dependent projects

Signed-off-by: MHesham <mhesham.fcis@gmail.com>