Fixed eclipse 4 compatibility issue with menu contributions.

Thanks @mahills for finding the fix!