remove local path references in general build case