Fix debug build

Forgot to make the same changes for the debug build