Move to CMake

Change-Id: Iab218f0fcebdf4d757a22e6b733e1bf3b30aa5ab