Ghana says 40,000 Liberian refugees remain in the country , even though the Liberian civil war ended in 2003 .