Fix adb detection when ANDROID_SDK is set.