Filter out -lz -lpthread -lrt -ldl from llvm-config --libs

They don't work for the static compile.