What doesn't work actually is to call map.addControl (or control.setMap) before map.setTarget.