Fix compilation on Raspbian due deprecations.