Fix #1358: Broken thread support with OCamlVersion >= 4.00
Merge pull request #31 from jpdeplaix/threads

Fix #1358: Broken thread support with OCamlVersion >= 4.00