Fixed AC building process for large pattern sets and ClamAV rules file.