Split out the platform and check that ANDROID_HOME is also set