Tweaks to hammer script

Made a couple tweaks to the hammer script while working on the i386 AppImage. These should make it work properly when building i386 AppImages (or just compiling Ember for i386) on an AMD64 machine.

Background: uname is "too smart" and will detect the host architecture and not the architecture of the build environment.