Compile drivers with safe language subset