Fix postgres startup issue on linux