Fix standalone builds

Closes #2.
Merge pull request #6 from stephenmathieson/fix/standalone

Fix standalone builds