Merge changes from topic "init_defaults"

* changes:
  init: Build init_tests only for the first arch.
  init: init_defaults uses more shared libraries.