Make if-percent work as a macro, but still with side-effects