update build, fix resource module registration in Wikibase

Change-Id: I571feca01c34c933ef398c6bd49da3ee2eaf4825