fixing a few small bugs for Android
fixing a few small bugs for Android

ctuning/ck-autotuning,ctuning/ck-autotuning,supriyantomaftuh/ck-autotuning,ctuning/ck-autotuning,ctuning/ck-autotuning,supriyantomaftuh/ck-autotuning,supriyantomaftuh/ck-autotuning,supriyantomaftuh/ck-autotuning,ctuning/ck-autotuning,ctuning/ck-autotuning