fix path to CUDA libraries (use targets/armv7-linux-androideabi/lib)
save previous values of LOCAL_* variables and restore them at the end
Tests install path fix for Android SDK.
Merge pull request #2274 from jet47:android-mk-fix
Merge pull request #2277 from asmorkalov:android_test_path_fix