fix a typo in the image generation makefile (closes #4624)