64bit/32bit detection added