fixed build with relative image paths