Added LD_RUN_PATH hack into the profile.d for imagemagick.