Be more selective about copying libcrypto symbols into legacy.so