Building svm code