Remove a potential memory/fd leak by detroying MagickWands after use. Update the build scripts to avoid wrapping unnecessary code. Also, set WandExport flag when generating interface.