Modify CBForest to be compiler able by Android NDK