Android NDK port of TBXML