Remove unneeded dependencies.

nav_msgs was not needed.