Problem: zsys_allocs is not defined as external

Solution: define properly in zsys.h.

Fixes #832