Added libmagickcore5 as dependency.