Updated smlib
Fixed some warnings in SM 1.7
Merge pull request #313 from Bara20/travis-1.7

Updated smlib and some 1.7 fixes