Ensure Ruby strings are tagged with correct encoding for 1.9+
Don't remove Qt::Base from class ancestors