fix unix makefile

static build dependencies
resynced with bitcoin 0.8.6 unix makefile
keep system dependencies dynamic (messes up libcurl otherwise)