Fix getting of build version