Add a build step to test the imagemagick installation