MB-9905: Restore "Transition to CMake""

This reverts commit 674de488b308eb6e065fd6cd9e115fabfb7e92ed.

Change-Id: If0c9deb5cc426a7076484dea3edd85239f691a74