conditional pkg-config generation