fix build bugs.
remove unuseful files.