update build system to Theos