handle optional build version