McBride CMAKE warning fixes