Swapping string for symbol in platform library

As platforms is defined with symbol keys.