issue #1; fixing `make` to actually compile (at least on Ubuntu 12.04).
Merge pull request #2 from jzacsh/master

getting `make` to work without pthread issues