Fix compile error in new build env