fix build for pubsub

N/A

Change-Id: I42a16cb12d47fb3b7656857afd56e7e24a3a6790
Signed-off-by: liuhuahang <liuhuahang@zerus.co>