fix #4509: pick minimum version for target env