Fixing behavior when encountering compile errors
Compiler no longer calls process.exit() in these situations, but correctly uses the callback function.