only disable exceptions for windows build