Configure for postgresql [fixes #5]