Making compile use async IO