fix debug build failure on x64