Added define used to allow non-threadsafe reference counter