regulation of cellular macromolecule biosynthetic process