Only check for android environment vars if building for android.