Change compiler to use lib/<arch>-<os> subdirs for non-x86

in order to be able to have
	lib/win32/        -> 32bit,
	lib/x86_64-win32/ -> 64bit,
	lib/linux/        -> x86 Linux,
	lib/x86_64-linux/ -> x86_64 Linux,
	lib/arm-linux     -> 32bit ARM Linux,
etc.