OSX: more libraries nametool fixes