Fix compile error against Eclipse 3.7 APIs.