Basic 32/64bit detection and Windows support