fix relative file paths for make's working dir