postgresql: fix host build and correctly apply NLS