fix two little syntax errors
Merge pull request #3243 from xabbuh/fix-build-errors

Fix build errors