Check CPU architecture in defines.sh to download correct eclipse version

The current script always downloads the x86_64 version of eclipse. The
script in this commit checks whether the architecture is 32 or 64 bit
and downloads the correct eclipse version.