The inmates exploited a construction design weakness in the jail and created a tunnel to escape, authorities said.