fix missing headers/C flags on latest Raspbian