removed extra libs and used imagemagic 7