Create CoreMatchers in the generate-sources phase.

This currently fails during a clean build, because
hamcrest-generators uses reflection.