Tweak for postgis 1.5