only delete the original javaCompile action, preserving doFirst() and doLast()

This is *very* hackey, but there is no gradle api for only getting the orignal
action of a task. At least it will fail fast if the class name ever changes.
may help with #65, #73