Update to use CGL crate for mac.