Scotland beat Curacao 4-1 in a World Cup warm-up match at Hampden Park in Glasgow. The hosts came from behind to secure the victory.