Do some minor pointer checking to make sure the compile doesn't crash.