fix build for Multi Window