Added check in setup() for Android OS.