Enable configuring the operatingsystem used

The parameter goes into the 'config.yaml' file
Fix a problem with ruby >= 1.9