Change require in pg for os specific