automatically detect which ORTP library is present and API to use