Ti SDK 3.4.0.GA compatibility

As this fork seems to be much better maintained, let me open this PR here as well.

I think I have solved the compatibility issues with 3.3.0+. Have not tested it with 3.3.0 and lower, but this seems to work on 3.4.0.GA at least. That's why I raised the minsdk (as I am fairly certain that is won't work anymore in 3.1.0)