compile lib svm as library