Fix build error on Release