hack to include image_write into libnanovg.a