fix makefile so that it compiles properly with make roll

To modify files inside nodes/* we should use the preroll target
so that it works both with make and make roll