fix build (undefined) issues on linux with respect to adfs library