quick fix to be compatible with recent version of lcms.