Fixed issue with settings file generation
WIND_RIVER not necessarily defined, so fixed "add to path" issue