Fix for andriod 3+
Merge pull request #17 from edrinkercope/master

Fix for android 3+