Fix asset compilation for images