Add libs, suppress warnings, fix packet sending.