Add @ConditionalOnClass to health indicator