making image paths relative when building