noweb: some fixes

required to compile emascy