Fix build with the debug stuffs disabled