cmake support for crosscompiling i386 binaries on x86_64 hosts

cmake support for crosscompiling i386 binaries on x86_64 hosts