add postgis dir to config