android: added switch compat library