fixed some build errors
Merge pull request #297 from asvitenkov/master

fixed some build errors in scs plugin