fixed require Oauth2 on linux