Revert "channels: fix link errors."

This reverts commit 2fc7f9c48553c415f49b65de221f00e8d6d2f095.
channels: fix link errors.