BUG: Fixed build error in debug mode