Fix C++ tests to work with NDK build.

This change fixes some errors with stlport linking, as well as making most
of the apps static. We keep one copy of cppbasic-shared using the normal
build system (instead of using the NDK targeting API 8).

Change-Id: Iecc13e7d627e144120eec9b120663ec644917606
8 files changed