Changs zsh conditional to sh; remove FindLibVar.cmake