Use JPATH_ROOT instead of JPATH_BASE