Allow compilation of classes in AppCompiler to be canceled using Thread.interrupt(). (#159)