Ross County have parted company with manager Malky Mackay with the club sitting second bottom of the Scottish Premiership.