Added config check for Postgis 2.x