[fabbione/kronosnet] c2b254: [compress] split check_lib_init into 2 functions