Fix build of hub