Added support for building 64bit and 32bit binaries.