Support both CE and EE liferay releases