(core) shmpage refactor fixes for win32