Fix some issues for lite interpreter internal build. (#29620)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29620
Modify buck for lite interpreter to build successfully on internal integration.
ghstack-source-id: 93733618
Test Plan: buck build xplat/caffe2:torch_mobile_coreAndroid
Reviewed By: iseeyuan
Differential Revision: D18438105
fbshipit-source-id: d6f6615623a385383105763733607c3872c89c42