Viscosity characterization of the value function of an investment-consumption problem in presence of an illiquid asset