Resolving build errors

common build erros