Check if EC2m is available before using it

Some openssl packages do not include EC2m due to patent concerns, but
support elliptic curves, so rubysl-openssl do not build on those
systems.

This checks if EC2m is available (or rather, not disabled).