Fix svm.m4 on OSX

make libsvm/svm.java fails with this error:
"ERROR: end of file in comment"
Add pom.xml
Check interrupted thread while training