Touched up build system. Fixed INDEX_* calls to accept only pointers to zone
struct.