Change to CheckLib for LibAV being too new