Removed duplicate dependencies.

This was causing warnings in the samples build.