Use cmake's option command.

Closes #34.