core: extend `core_select_lib` to be used for other libs than just
`kivy.core`
Merge pull request #1631 from kivy/core_select_lib

core: extend `core_select_lib` to be used for other libs than just