fix cmake compilation and added parametrization to the CHoasDataServices

Change-Id: I9849984dc739c69e2b89a65884099f916cef22c9