adjusted system ldflags for libraries.
ndk build system choose -static/-shared upon the used BUILD macro.
see BUILD_SHARED_LIBRARY and BUILD_STATIC_LIBRARY on google for more info.