Fixing compilation error related to new Version class