fixes for builder, add apparmor.