Simplify defines

Change to use better Joomla calls which have true root and avoid removing /administrator (which may have been changed by some J security extensions).