Only check for libsvm if we're using predict or buildmodel