Detect 64 or 32 bit OS and select appropriate box

Detect 64 or 32 bit OS and select appropriate box