Fix dynamic scoping in nagios::webinterface