Generalizing setup script os detection so it works on 12.04 and 12.10
alike