fix build errors
Merge pull request #69 from UGerhards/v5-stable-fix3

fix build errors