added 64 bit vs. 32 bit binaries
fixes for 32 bit vs. 64 bit binaries