Add NDEBUG to the other m_isPrepared variables.
Add glog logging support.