Do not install if dir in non-msvc platform