Fix perl bindings generation