Try to fix relative paths.