Make sure the binary works even if it’s not installed globally

Closes #30 and #33.