Fix missing define('CLI'',...) when called from outside Osclass