Fixed compilation errors in Image Downlaoder.