libcmsis.a is installed as "${install_dir}/lib"

If installing to an isolated (fresh) location on Darwin, libcmsis.a becomes 
"${install_dir}/lib"

Which is not a directory. Some implementations of install probably behave differently.