Fix missing RT_SCOPE_* defines on MinGW build