fix ZTS build

this fixes the issue described in pull request #4
Merge branch 'master' of github.com:tony2001/memtrack

* 'master' of github.com:tony2001/memtrack:
  Fixed compiler warns
  Added compatible OB API macros
  5.4 compatibility