Make paths work correctly.