Improve compile script to save `libsodium.so` in applications cache directory