Make browsefailures platform-independent