Alexander Zverev recovered from losing the second set 0-4 to beat Marin Cilic at the Adria Tour in Zadar.