[TIMOB-16153] Updated build script to follow the latest Titanium CLI 3.2.1+ hook API.