minor patch, ensuring LIBDIR is created before installation
minor patch, ensuring LIBDIR is created before installation

follow-up from #1123

Cyan4973/zstd,Cyan4973/zstd,Cyan4973/zstd,Cyan4973/zstd,Cyan4973/zstd