Fixed debugging functions for Objective C++

This fixes using the NIIsInDebugger function in Objective C++.