[misc] Add missing dependencies. Make viewers/players optional dependencies.