cmake: use pkg-config ldflags directly instead of spliting libs and dirs