build scan compat as a separate android library