fix non-Eclipse compilation problems