Transition to CMake

Change-Id: I924c5d6f8050a76de18487120ba05be33a37c220