Throw more descriptive error on version mismatch

Closes #10