add xctool as building tool, add build script