metamer: compilation error fix