win 64 and 32 target detect

for msvc. gcc use -dumpmachine?