sessionmanager: Fix linking error.