Fix ZTS build
Fixed FR #8 (Return on unserialization)