pkg-config can be unavailable, leading to empty PKGCFGDIR, thus 'mkdir -p' fails. fixed by checking if PKGCFGDIR is empty
pkg-config can be unavailable, leading to empty PKGCFGDIR, thus 'mkdir -p' fails. fixed by checking if PKGCFGDIR is empty

bSr43/capstone,bSr43/capstone,bSr43/capstone,bSr43/capstone,AmesianX/capstone,xia0pin9/capstone,fvrmatteo/capstone,fvrmatteo/capstone,fvrmatteo/capstone,fvrmatteo/capstone,AmesianX/capstone,bSr43/capstone,bSr43/capstone,fvrmatteo/capstone,AmesianX/capstone,bSr43/capstone,xia0pin9/capstone,AmesianX/capstone,xia0pin9/capstone,xia0pin9/capstone,xia0pin9/capstone,fvrmatteo/capstone,AmesianX/capstone,AmesianX/capstone,xia0pin9/capstone,xia0pin9/capstone,fvrmatteo/capstone,AmesianX/capstone