Add the register package callback to build objects.

Affected issues:
	surtrstudios/weyland#8