Set imagemagick location in properties. Fix xsl errors.