update flags for raspi compat