All the hard work was done by pamaury. I simply added proper defines. Change-Id: Ib374eea7cd20f35518ad8a68d771c57c54ae01ca
Change-Id: Ic32200f9ab2c6977e503307a9cbe43a1328d0341