Fixed compatibility issues with new Contiki MODULES net api