Fixed build issues

Mostly workarounds for warnings and errors because of problems in dependencies
Merge branch 'hydro' of github.com:felixendres/rgbdslam_v2 into hydro