Handle -l libraries. Fix FLAGS_LD typo.