Fixed a variable name and removed RbConfig as the means of checking for MS Windows.