Erts version autodetection in frontend