#1183 see if changing the phase to generate-sources helps?
fixes #1183