Fix postgis with postgresql < 9.1