provisional fix for #8 to compile elements with the appropriate dialect