try setting POSTGIS_VERSION explicitly