fixing a NoSuchMethodError for lower API levels. Issue #249