ignore undefined functions

fs.lchown isn't available on linux. fixes: #1