made generate code use goldencpp correctly.