Inject version number symbol at link time.

This lets us specify the version at build time without doing weird build
file stuff.