Fix it so that the compiled file is output when running 'dist' but not 'run'