Fixed Windows and Linux was is instead of ==