Add support for building ReadyNAS packages on x86_64 platforms.

Add platform independent XML parser. Modify script to fall back to this
perl script instead of the official binaries if we're running on an
unknown platform.