fixing issues with pg gem install