Added BUILD_32 compile flag

Needed to fix tree incest errors on 32 bit version