implement libpatch_GetMyResource on Windows