(Android) Define HAVE_THREADS