Update build settings.
Remove redundant external headers.