Support socketed gems. Fixes #8.