make compiled resource paths relative