adaption for build: remove useless headers, add some headers
