put library version at the same number as storage file format version
improve build system