Fixed build to reflect updated API.
Merge pull request #2 from deckarep/master

Fixed build to reflect updated API.