fix eclipse build errors