Making both library and preferences build on inheritedJdk from Android Studio (as of right now, android 19)