[misc] Exclude unwanted dependencies