Fixed ZTS build

Ref: issue #13