fixed typo in buildnetwork.R

this is a typo right?