add /usr/local/lib to link path - makes this build on openbsd
conform to child_process.spawn behavior more.
Merge pull request #36 from niallo/bsd-support

BSD support
Windows updates and bug fixes

Squashed commit of the following:

commit 316cf0740377947440108284418d36b7594f7a07
Author: Nathan Rajlich <nathan@tootallnate.net>
Date:   Sun Oct 20 14:02:36 2013 -0700

    fix whitespace

commit 088c2a4b1c9f1381843ed2bde2410e9ecdeb25d8
Author: Nathan Rajlich <nathan@tootallnate.net>
Date:   Sun Oct 20 12:07:35 2013 -0700

    binding: remove tabs and add gyp comment

commit 684011b2eca3e647af39ffeca3afb7f043e9dfae
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Sun Oct 20 20:29:27 2013 +0200

    add support for environment variables

commit a59c20b53adb5ff39ecd647a78ed5295ad529d7e
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Sun Oct 20 13:44:31 2013 +0200

    revert auto

commit 50bf04dd0800496b8760e1e8364994bc2b0a9b84
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Sun Oct 20 13:36:32 2013 +0200

    copy merge method from unix version

commit 9eb8405ced616ed3a070fde678e3e2e1055e0abd
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Sun Oct 20 13:36:15 2013 +0200

    change to a more descriptive variable name

commit 8a1d02a64000d1a6d7819d631b836608df79e723
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Sun Oct 20 13:27:22 2013 +0200

    bugfix: set correct cols, rows values when starting a new pty session

    Resolves #43

commit d119290262cca5567d3ebf15b321f4cd0ef586f6
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Sun Oct 20 13:20:02 2013 +0200

    Revert "add missing 'type'"

    This reverts commit 28742f435c2c4547c79797598f52f203ef4e0429.

commit dd5c891071623db690b77d2f693ca9bdd9658a3f
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Sun Oct 20 13:19:43 2013 +0200

    disable environment variables, see: https://github.com/rprichard/winpty/issues/13

commit 505a4f2c7dc6484b8fb8561fa39397d9fba4b235
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Sat Oct 19 20:12:23 2013 +0200

    update submodule

commit 70b65d5ff9445636585541e4f83519a063fa6307
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Sat Oct 19 20:01:16 2013 +0200

    add missing 'type'

commit c6b04d7616e8a94c3a1362bf235a10039c6fd3d3
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Sat Oct 19 19:47:31 2013 +0200

    disable environment variable until upstream bug is fixed

commit 2f5de98a506c4cd6f25dbb89b17f4c213c839474
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Fri Sep 20 15:52:19 2013 +0200

    update submodule

commit 8aac368d292cd5c75cdb73e871d8f5af2d3237e9
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Fri Sep 20 15:49:51 2013 +0200

    minor refactoring.

commit 3ab07383f71fbbe9a1ccc781fc422eccc770e05f
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Fri Sep 20 14:35:11 2013 +0200

    fix example code

commit ad62b0349167ed511d1f1d321e97ce4f2ec00d38
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Fri Sep 20 14:29:44 2013 +0200

    update submodule

commit 0685db3bc2a8785f1bf18be2f99a033292b33bf3
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Fri Sep 20 14:29:34 2013 +0200

    massive code cleanup.

    bugfix: set/delete environment debugging variable (winpty)
    bugfix: corrupt environment variables sent to winpty-agent.exe

commit fde84175e5197a26ec7c6564dd0880eda26b4534
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Fri Sep 20 14:25:39 2013 +0200

    provide better example

commit 9aebf593a12e875befe914d07594129686d6593a
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Fri Sep 20 14:13:36 2013 +0200

    get rid of non critical msvs warnings

commit c4ff01eb0c9b461d29d7a2f0cf796eda41dc4ef0
Author: Peter Sunde <peter.sunde@gmail.com>
Date:   Fri Sep 20 12:51:09 2013 +0200

    update submodule

Closes #40.
Fixes #43.
Merge branch 'vendor-master'

Conflicts:
	binding.gyp
	lib/pty_win.js
	src/win/pty.cc