fix postgresql installation in VM