Fix path problems.