Dthread: fix headers for OSX (#31)

Signed-off-by: Eduardo Silva <eduardo@monkey.io>