Fix compilation issues with Raspbian.