Fix compile warnings

Set includeantruntime and add -Xlint:unchecked to javac