Reduced compiler and ant compile warnings