Compile TeX files asynchronously.