constant accessor: fix the generated compiler macro