Make android buildable again

This resolves the qreal vs double and the typedef void *OGRxxxx issues