Build-tested on x86_64 Linux & Mac.
I also add libspatialindex and libspatialite, to get the latest qgis building.