Improve shell portability of new rules in Makefile.shared.
Improve shell portability of new rules in Makefile.shared.

openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl