[TPL] Add mono internal API support

leave the code as it was, we will remove global 618 setting soon