Link with libz on all platforms if ENABLE_TRACE is ON. Closes #113
Merge branch 'stable'