fix build errors
Merge pull request #80 from UGerhards/v7-stable-fix

fix build errors