Refactor extra module build initialization

This makes version tracking easier for extra modules

Change-Id: I0eae600434942abfcfbb3f214018311479347d97
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>