removed workaround for issue of Cg header on Apple