Small Android fixes

* It seems <limits.h> is required for SIZE_MAX.
* Use "exec ./tests" inside adb shell. It seems that either new versions
  of ADB or Android don't return otherwise.