Fix the detection of 'graphics.cma'.