[win32] add jpeg and tiff support