Exclude un-needed dependencies

Exclude un-needed dependency libraries.