Cleaned up libffi and libsodium build scripts