fix compilation errors
Merge branch 'master' of https://github.com/aggenebbisj/beanie