64 bit fix for debug builds

Yet another fix to make debug build compiling possible.