Fix implicit 64/32 bit conversions
SConstruct: Build programs into build/$arch/$type/bin
Harden 64-bit to 32-bit casts to bad input
Merge github.com:otherlab/geode