Localized buckling of an elastic strut in a visco-elastic medium