Link commands should list ‘-o $out’ last