ns2 discrete event simulator -- changes for Ubuntu 12.04