Cook added to South African squad