raspberry pi build fixes and updates