Fixed cross OS option setting.