Patch: issue #42

Issue #42 Patch for v1.0.1
https://github.com/docker/libcontainer/issues/42