config: relocate library functions check and comment