On the wave equation with space dependent coefficients: singularities and lower order terms