fix cmake/FindLibc to prevent from searching for -ldl