Changes for local compile on Pi (Raspbian)