fix compile error with Android 1.5.3 Fixes #3