Set build version and compatiblity version as properties in the shared
library.