CMake build of NME dependencies