Fix bad references to version constant