Fix compile warnings

Set includeantruntime and add -Xlint:unchecked to javac
Merge pull request #593 from pauldraper/pauldraper-build-warnings

Fix Ant warnings