Fix grace compiling dialects at runtime