Cast size_t values to unsigned long so that printf knows the correct type.
Added latest version of Image Magick as version to test on Travis.