Heterocycle synthesis precursor