added mkdir for pkgconfig if it doesnt exist