make lib32/lib64 use WORD_SIZE, and apply on Windows too

for windows binaries that we package ourselves, this will allow easier switching between 32 bit and 64 bit