Fix runtime library (local scope not supported yet)