Build cppregion as module instead of dynamic library.