fixed build broken under freebsd
cleaned up binding.gyp file
Merge pull request #290 from francoiscolas/master

fixed build broken under freebsd