Fixed Qt::RubyThreadFix error

Fix for CLI tools suffered.
Merge pull request #79 from BaderSZ/master

Fixed Qt::RubyThreadFix error