Fix image magick URL
Merge pull request #382 from romainneutron/fix-build

Fix imagemagick URL
Make the extension installation fail when any statement fails

This gives a much better feedback when there is an error in the installation