Fix compilation error with SDK < 7.0
Fix compilation error with SDK < 8.0
bump version