makefiles android: fix afterplatform rule