This is done automatically if you add `depends_on 'pkg-config' => :build` to the formula