Added linking against the mote and tossim object files.