Require giflib, libjpeg, libpng and libtiff
Expand building instructions, fixing issue #1218