Fixed a case when JomSocial is not installed