Enable pattern match for windows.