Use classname instead of value in @ConditionalOnMissingClass

See gh-1065