Fix a warning.
[runtime] Add a 'shared_handles' --enable-minimal option, same as --disable-shared-handles.