Fixed API call in connect example
Added compilable source code file from node-hid for Mac and Linux platforms