update build, fix resource module registration in Wikibase

Change-Id: I4193bf619f59afd5b469b65a8e61afd16472af58