remove unused header files and arm platform files.