fix build so that the server postgresql stuff should work