make EXTLIBS optional, depend on the library
3rd: probe for libuv and pcre and copy it into lib/ if needed
fix static targets: libs

omit EXTLIBS in static so far