more preferable way of checking cross-compiling and cpu architecture for windows