Added platform detection for 32bit windows