lib: Switch to a 3-part version number for the library interface.