Fix compilation when _NO_TZ is defined
Merge pull request #1100 from jtanx/notz

Fix compilation when _NO_TZ is defined