Avoid setting dispatch functions on MinGW, to avoid crashing