fixed hot to get pg_config path in the same way as the official recipe:ruby.rb