Enable postgres integration on windows

Fix #845