add missing less.inc.php functions