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