[Build System] Remove unneeded dependencies