Updated to 1.3.6

Some recent patches are critical to deploying nesc/tinyos on Mac.

If this is pulled also please tag the commit with v1.3.6.