Thirty-eight others were rescued after the boat was found off the Cape Verde coast, police said.