Fix compile failure due to fluctuations in Liferay 6.2.x API