Set extension image according to OS

fixes issue #90
I always get confused about this. Fixed.