Fix for Ruby 2.0

Fixes Ruby 2.0 problem of using a Mutex in a
signal trap context
Require iconv if ruby version is 2.0 or greater.
Merge pull request #1 from HouseTrip/fix-ruby21-mutex-lock-within-trap

Fix ruby21 mutex lock within trap