modify project settings and remove some unnecessary lib