Ross County beat Dundee United 1-0 in Dingwall to secure a first win in five and keep their European hopes alive.