don't redownload things which already exist locally
make sure to make lib dir before linking it
do not download android_toolchain if it already exists
patch android.toolchain.cmake for pthread detection. Fixes #5