mainly added c++ stlport support

Change-Id: Ia0b29c55a338c1b56f3bc0b7d8c28e0950a2f463