fixing main-function arguments

This generates the correct ir.
But for this to work as intended libsdrt needs to be fixed as well.