Paths were incorrectly set up for check_lib()