Made compiling helper functions a side effect of compiling main