CMake based native part compilation