fix builds of relative paths