Problem: inconsistent types for zsys_allocs

Solution: clean this up.
Merge pull request #834 from hintjens/master

Problem: inconsistent types for zsys_allocs