Added workaround for missing build IDs
Use a platform independent method to detect 64-bit

dpkg is only available on Debian. uname should be available on most all modern Linux distros and OSX.
Added workaround for bride/#26