CHANGED rewrote OS bitness detection
Merge pull request #816 from jikuja/fixes_for_v1.4.2

CHANGED rewrote OS bitness detection